<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./icon/iconfont.css">
    <style>
        body {
            margin: 0;
        }
        a {
            text-decoration: none;
        }
        header {
            /* view width */
            width: 100%;
            height: 50px;
            background-color: #090722;
        }
        .center {
            width: 1200px;
            height: 50px;
            background-color: #090722;
            margin: 0 auto;
        }
        nav {
            float: left;
        }
        nav>*,
        .features>* {
            display: inline-block;
            height: 50px;
            padding: 0 16px;
            line-height: 50px;
            color: #ccc;
        }
        nav>*:hover {
            color: #fff;
        }

        .features {
            float: right;
        }
        .count {
            position: relative;
        }
        .count::after {
            content: "3";
            display: block;
            position: absolute;
            top: 8px;
            right: 8px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background-color: red;
            line-height: 16px;
            text-align: center;
            font-size: 12px;
            color: white;
        }
    </style>
</head>
<body>
    <header>
        <div class="center">
            <nav>
                <a href="https://baidu.com">首页</a>
                <a href="https://baidu.com">首页</a>
                <a href="https://baidu.com">首页</a>
                <a href="https://baidu.com">首页</a>
                <a href="https://baidu.com">首页</a>
                <span class="iconfont icon-shinei_matong02"></span>
            </nav>
            <div class="features">
                <span class="iconfont icon-shinei_matong02"></span>
                <span class="iconfont icon-shinei_matong02"></span>
                <span class="iconfont icon-shinei_matong02 count"></span>
                <span class="iconfont icon-shinei_matong02"></span>
            </div>
        </div>
    </header>
</body>
</html>